package com.spring.starter;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @program week05
 * @description: properties
 * @author: chanzhugang
 * @create: 2021/04/18 18:10
 */
@ConfigurationProperties(prefix = "student")
@Getter
@Setter
public class StudentProperties {

    private String name = "zhangsan";

}